Imports AUtility

Public Class GlobalTenisLiga



    Public Shared Property ConnectionString() As String
        Get
            'Return My.Settings.ConnectionString
            Return My.Settings.mojdbConnectionString
        End Get
        Set(ByVal value As String)

        End Set
    End Property

    Public Shared ReadOnly Property TekucaSetonaId() As Integer
        Get
            Dim selectStr As String = String.Format("SELECT TOP 1 SezonaId FROM Sezona ORDER BY DatumOd DESC")
            Return DataAccess.GetInt(GlobalTenisLiga.ConnectionString, selectStr)
        End Get

    End Property



End Class
